package com.sztx.pay.center.dataaccess.domain;

import java.io.Serializable;
import java.util.Date;

public class SettleRuleDO implements Serializable {

	private static final long serialVersionUID = -4896222306132568193L;
	
	private long id;
	
	private int tradeType;// 交易类型(1交易;2充值;3提现;4转账至他人银行卡)
	
	private int settleType;// 结算类型(1立即结算;2定时结算)
	
	private int feeType;// 手续费计费方式(1百分比;2固定金额)
	
	private double feeAmount;// fee_type=1时，表示百分数；fee_type=2时，表示金额，单位分
	
	private long upperLimit;// 手续费上限，单位：分
	
	private long lowerLimit;// 手续费下限，单位：分
	
	private int state;// 状态(1有效;2无效)
	
	private Date modifyTime;// 修改时间

	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public int getTradeType() {
		return tradeType;
	}

	public void setTradeType(int tradeType) {
		this.tradeType = tradeType;
	}

	public int getSettleType() {
		return settleType;
	}

	public void setSettleType(int settleType) {
		this.settleType = settleType;
	}

	public int getFeeType() {
		return feeType;
	}

	public void setFeeType(int feeType) {
		this.feeType = feeType;
	}

	public double getFeeAmount() {
		return feeAmount;
	}

	public void setFeeAmount(double feeAmount) {
		this.feeAmount = feeAmount;
	}

	public long getUpperLimit() {
		return upperLimit;
	}

	public void setUpperLimit(long upperLimit) {
		this.upperLimit = upperLimit;
	}

	public long getLowerLimit() {
		return lowerLimit;
	}

	public void setLowerLimit(long lowerLimit) {
		this.lowerLimit = lowerLimit;
	}

	public int getState() {
		return state;
	}

	public void setState(int state) {
		this.state = state;
	}

	public Date getModifyTime() {
		return modifyTime;
	}

	public void setModifyTime(Date modifyTime) {
		this.modifyTime = modifyTime;
	}

	public static long getSerialversionuid() {
		return serialVersionUID;
	}

	@Override
	public String toString() {
		return "SettleRuleDO [id=" + id + ", tradeType=" + tradeType + ", settleType=" + settleType + ", feeType=" + feeType + ", feeAmount=" + feeAmount
				+ ", upperLimit=" + upperLimit + ", lowerLimit=" + lowerLimit + ", state=" + state + ", modifyTime=" + modifyTime + "]";
	}

}
